package com.jeethink.role.domain;

import com.jeethink.common.core.annotation.Excel;
import com.jeethink.common.core.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import javax.persistence.Table;

/**
 * 【请填写功能名称】对象 arg_role
 * 
 * @author jeethink
 * @date 2020-10-14
 */
@Table(name = "arg_role")
public class ArgRole extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** $column.columnComment */
    @Excel(name = "角色", readConverterExp = "$column.readConverterExp()")
    private String roleName;

    /** $column.columnComment */
    @Excel(name = "描述", readConverterExp = "$column.readConverterExp()")
    private String descripe;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setRoleName(String roleName) 
    {
        this.roleName = roleName;
    }

    public String getRoleName() 
    {
        return roleName;
    }
    public void setDescripe(String descripe) 
    {
        this.descripe = descripe;
    }

    public String getDescripe() 
    {
        return descripe;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("roleName", getRoleName())
            .append("descripe", getDescripe())
            .toString();
    }
}
